import axios from '@/utils/request'

export function getBlogListByCategoryName(categoryName, pageNum) {
  return axios({
    url: 'category',
    method: 'GET',
    params: {
      categoryName,
      pageNum,
    },
  })
}
